<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'google-ads-form',
    'enableClientValidation' => true,
    'action' => array('/ad/googleads/create')
))
?>
<?php echo $form->errorSummary($model) ?>
<div>
    <label>Enter google ads script bellow (*)</label>
<?php echo $form->textArea($model, 'params', array('rows' => 10, 'cols' => 70)) ?>

    <?php echo $form->error($model, 'params') ?>

</div>
<div>
    <label>Select location</label>
<?php
echo $form->dropDownList($model, 'position', array(
    'right' => 'Right sidebar',
    'left' => 'Left sidebar',
    'bottom' => 'Bottom',
    'top' => 'Top'
))
?>
</div>
<br/>

<div>

    <input type="submit" value="Submit" />

</div>



<?php $this->endWidget() ?>